package com.foreknow.homework;

import java.util.Scanner;

public class person {
    Scanner input = new Scanner(System.in);
    private String name;
    private String jieguo;

    public String getJieguo() {
        return jieguo;
    }

    public void setJieguo(String jieguo) {
        this.jieguo = jieguo;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String name() {

        this.name = input.next();
        return name;
    }

    public void chuquan(int a) {
        switch (a) {
            case 1:
                this.jieguo = "剪刀";
                break;
            case 2:
                this.jieguo = "石头";
                break;
            case 3:
                this.jieguo = "布";

        }

    }
}
